home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
go.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-16
|
11KB
|
182 lines
@echo off
IF "%1"=="" GOTO GETDRIVE
IF "%2"=="" GOTO GETDRIVE
GOTO GETSTART
:GETDRIVE
CLS
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ Arsenal Computer - Popular Request █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
ECHO █ █
ECHO █ Please Specify Where your Hard Drive to Install to is, █
ECHO █ and what drive letter your CD-ROM Player is located at. █
ECHO █ █
ECHO █ Please use the Following Format: █
ECHO █ █
ECHO █ INSTALL C D █
ECHO █ █
ECHO █ If you want to install to your C: Drive, and your CD-ROM █
ECHO █ player being your D: Drive. Please do NOT put in any █
ECHO █ colons after the drive letters. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO.
GOTO END
:GETSTART
CLS
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ You Have indicated that your installation hard drive is %1:\; █
echo █ and that your CD-ROM Player is Located at %2:\; █
echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
echo.
echo.
GETKEY Is this Correct? Y@N
IF ERRORLEVEL = 2 GOTO END
IF ERRORLEVEL = 1 GOTO DO_IT
IF ERRORLEVEL = 0 GOTO END
:DO_IT
CLS
ECHO.
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ We are now going to create a batchfile that will allow you to █
ECHO █ access the Popular Request CD-ROM disc easily. █
ECHO █ █
ECHO █ This Batchfile will be installed to the Root Directory of the █
ECHO █ %1: Drive. If you do NOT wish this to occur, please indicate █
ECHO █ so now. This Batchfile will take up less than 1k of your hard █
ECHO █ drive space, so it will not significantly impact your hard █
ECHO █ drive storage. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO.
GETKEY Do You Wish to Create this Batchfile? Y@N
IF ERRORLEVEL = 2 GOTO END
IF ERRORLEVEL = 1 GOTO MAKEBAT
IF ERRORLEVEL = 0 GOTO END
:MAKEBAT
IF EXIST %1:\REDROM.BAT DEL %1:\REDROM.BAT
%1:
MD %1:\REDROM
MD %1:\ROMDROP
CD %1:\REDROM
COPY %2:\EZROM\*.* %1:\REDROM\*.*
IF EXIST %1:\REDROM\EZROM.CFG DEL %1:\REDROM\EZROM.CFG
ECHO DiskName Popular Request >> %1:\REDROM\EZROM.CFG
ECHO HoldDir %1:\ROMDROP >> %1:\REDROM\EZROM.CFG
ECHO CopyToMag ON >> %1:\REDROM\EZROM.CFG
ECHO Log OFF >> %1:\REDROM\EZROM.CFG
ECHO Style 1 >> %1:\REDROM\EZROM.CFG
ECHO Share ON >> %1:\REDROM\EZROM.CFG
ECHO Debug OFF >> %1:\REDROM\EZROM.CFG
ECHO AllowLogOff ON >> %1:\REDROM\EZROM.CFG
ECHO CheckSize ON >> %1:\REDROM\EZROM.CFG
ECHO LinesPerPage 22 >> %1:\REDROM\EZROM.CFG
ECHO TagChar 26 - >> %1:\REDROM\EZROM.CFG
ECHO Zone 1 Color 15 First 1 Last 12 >> %1:\REDROM\EZROM.CFG
ECHO Zone 2 Color 14 First 14 Last 22 >> %1:\REDROM\EZROM.CFG
ECHO Zone 3 Color 10 First 23 Last 32 >> %1:\REDROM\EZROM.CFG
ECHO Zone 4 Color 11 First 33 Last 78 >> %1:\REDROM\EZROM.CFG
ECHO DirectVideo ON >> %1:\REDROM\EZROM.CFG
ECHO CheckSnow ON >> %1:\REDROM\EZROM.CFG
ECHO BiosScroll ON >> %1:\REDROM\EZROM.CFG
ECHO Areas >> %1:\REDROM\EZROM.CFG
ECHO %2:\MUSTHAVE %2:\FILELIST\PCBOARD\MUSTHAVE.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\CD_ROM %2:\FILELIST\PCBOARD\CD_ROM.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\SWIMSUIT %2:\FILELIST\PCBOARD\SWIMSUIT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\EMAGS %2:\FILELIST\PCBOARD\EMAGS.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\DOOM %2:\FILELIST\PCBOARD\DOOM.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\MISSCHIL %2:\FILELIST\PCBOARD\MISSCHIL.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\MISC_1 %2:\FILELIST\PCBOARD\MISC_1.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\MISC_2 %2:\FILELIST\PCBOARD\MISC_2.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\UNPROT %2:\FILELIST\PCBOARD\UNPROT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\BBSSTUFF %2:\FILELIST\PCBOARD\BBSSTUFF.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\ANSI %2:\FILELIST\PCBOARD\ANSI.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\GENEALOG %2:\FILELIST\PCBOARD\GENEALOG.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_AMERIC %2:\FILELIST\PCBOARD\C_AMERIC.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_ANIMAL %2:\FILELIST\PCBOARD\C_ANIMAL.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_COLOR %2:\FILELIST\PCBOARD\C_COLOR.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_HOLIDA %2:\FILELIST\PCBOARD\C_HOLIDA.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_STRUCT %2:\FILELIST\PCBOARD\C_STRUCT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_CHILD %2:\FILELIST\PCBOARD\C_CHILD.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_SPORTS %2:\FILELIST\PCBOARD\C_SPORTS.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_MILITA %2:\FILELIST\PCBOARD\C_MILITA.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_ART %2:\FILELIST\PCBOARD\C_ART.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_BUSINE %2:\FILELIST\PCBOARD\C_BUSINE.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_CIVIC %2:\FILELIST\PCBOARD\C_CIVIC.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_FOOD %2:\FILELIST\PCBOARD\C_FOOD.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_FLOWER %2:\FILELIST\PCBOARD\C_FLOWER.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_PEOPLE %2:\FILELIST\PCBOARD\C_PEOPLE.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_CARTOO %2:\FILELIST\PCBOARD\C_CARTOO.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_PLACES %2:\FILELIST\PCBOARD\C_PLACES.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_MISC %2:\FILELIST\PCBOARD\C_MISC.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_COMPUT %2:\FILELIST\PCBOARD\C_COMPUT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_HOUSE %2:\FILELIST\PCBOARD\C_HOUSE.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_TOOLS %2:\FILELIST\PCBOARD\C_TOOLS.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_SCIMED %2:\FILELIST\PCBOARD\C_SCIMED.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_RELIGI %2:\FILELIST\PCBOARD\C_RELIGI.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_VEHICL %2:\FILELIST\PCBOARD\C_VEHICL.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_LETTER %2:\FILELIST\PCBOARD\C_LETTER.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_EDUCAT %2:\FILELIST\PCBOARD\C_EDUCAT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_INSECT %2:\FILELIST\PCBOARD\C_INSECT.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_WEDDIN %2:\FILELIST\PCBOARD\C_WEDDIN.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_BIRDS %2:\FILELIST\PCBOARD\C_BIRDS.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_19THC %2:\FILELIST\PCBOARD\C_19THC.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_WORKER %2:\FILELIST\PCBOARD\C_WORKER.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_MAPS %2:\FILELIST\PCBOARD\C_MAPS.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_REPTIL %2:\FILELIST\PCBOARD\C_REPTIL.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\C_FISH %2:\FILELIST\PCBOARD\C_FISH.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\AMIGA1 %2:\FILELIST\PCBOARD\AMIGA1.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\AMIGA2 %2:\FILELIST\PCBOARD\AMIGA2.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\AMIGA3 %2:\FILELIST\PCBOARD\AMIGA3.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\AMIGA4 %2:\FILELIST\PCBOARD\AMIGA4.DIR >> %1:\REDROM\EZROM.CFG
ECHO %2:\MAC %2:\FILELIST\PCBOARD\MAC.DIR >> %1:\REDROM\EZROM.CFG
ECHO Areas >> %1:\REDROM\EZROM.CFG
ECHO ; >> %1:\REDROM\EZROM.CFG
ECHO ; >> %1:\REDROM\EZROM.CFG
CD \
ECHO @ECHO OFF >> %1:\REDROM.BAT
ECHO %1: >> %1:\REDROM.BAT
ECHO CD %1:\REDROM >> %1:\REDROM.BAT
ECHO EZROM LOCAL >> %1:\REDROM.BAT
ECHO CD %1:\ROMDROP >> %1:\REDROM.BAT
ECHO CLS >> %1:\REDROM.BAT
ECHO TYPE FILES.BBS | MORE >> %1:\REDROM.BAT
ECHO PAUSE >> %1:\REDROM.BAT
ECHO DIR /W >> %1:\REDROM.BAT
ECHO ECHO. >> %1:\REDROM.BAT
ECHO ECHO █████ Here are Your CD-ROM Files >> %1:\REDROM.BAT
ECHO ECHO █████ Complements of Arsenal Computer >> %1:\REDROM.BAT
ECHO ECHO █████ >> %1:\REDROM.BAT
ECHO ECHO █████ Please Remember to Support Shareware! >> %1:\REDROM.BAT
ECHO ECHO. >> %1:\REDROM.BAT
CLS
ECHO.
ECHO.
ECHO █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
ECHO █ The Batchfile REDROM is now ready for your useage. █
ECHO █ █
ECHO █ When you are ready to begin, log to your %1:\ Drive █
ECHO █ and type █
ECHO █ █
ECHO █ REDROM █
ECHO █ █
ECHO █ Please note that you will either need to have the %1:\ █
ECHO █ directory in your PATH, or else you will need to be █
ECHO █ physically logged into the root directory. █
ECHO █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
ECHO.
ECHO ░▒▓█ Your Path Statement is:
ECHO.
PATH
ECHO.
:END